From: Georges Basile Stavracas Neto Date: Sat, 5 Jun 2021 12:22:00 +0000 (-0300) Subject: portal: Own org.gnome.Shell.Portal for the access portal X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~574^2^2~266 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=40543bdd285dcb46e2af7879fce92b67f276ef60;p=gnome-shell.git portal: Own org.gnome.Shell.Portal for the access portal org.freedesktop.impl.portal.desktop.gnome will be used for the GNOME implementation of desktop portals in the future, so make sure GNOME Shell's implementation of the access portal won't conflict. Part-of: --- diff --git a/data/gnome-shell.portal b/data/gnome-shell.portal index b70463777..a7cd0d532 100644 --- a/data/gnome-shell.portal +++ b/data/gnome-shell.portal @@ -1,4 +1,4 @@ [portal] -DBusName=org.freedesktop.impl.portal.desktop.gnome +DBusName=org.gnome.Shell.Portal Interfaces=org.freedesktop.impl.portal.Access UseIn=gnome diff --git a/js/ui/accessDialog.js b/js/ui/accessDialog.js index 0e417bda7..057cd5b1b 100644 --- a/js/ui/accessDialog.js +++ b/js/ui/accessDialog.js @@ -124,7 +124,7 @@ var AccessDialogDBus = class { this._dbusImpl = Gio.DBusExportedObject.wrapJSObject(AccessIface, this); this._dbusImpl.export(Gio.DBus.session, '/org/freedesktop/portal/desktop'); - Gio.DBus.session.own_name('org.freedesktop.impl.portal.desktop.gnome', Gio.BusNameOwnerFlags.REPLACE, null, null); + Gio.DBus.session.own_name('org.gnome.Shell.Portal', Gio.BusNameOwnerFlags.REPLACE, null, null); } AccessDialogAsync(params, invocation) {